// $ANTLR 3.4 E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g 2012-03-28 19:05:26
package pl.edu.agh.student.janikhankus.grammar;

import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings({"all", "warnings", "unchecked"})
public class GrammarLexer extends Lexer {
    public static final int EOF=-1;
    public static final int ARROW=4;
    public static final int COLON=5;
    public static final int DIGIT=6;
    public static final int EPSILON=7;
    public static final int LOWERCASE=8;
    public static final int NEWLINE=9;
    public static final int NONTERMINAL=10;
    public static final int NUMBER=11;
    public static final int OR=12;
    public static final int PROBABILITY=13;
    public static final int TERMINAL=14;
    public static final int UPPERCASE=15;
    public static final int WHITESPACE=16;

    // delegates
    // delegators
    public Lexer[] getDelegates() {
        return new Lexer[] {};
    }

    public GrammarLexer() {} 
    public GrammarLexer(CharStream input) {
        this(input, new RecognizerSharedState());
    }
    public GrammarLexer(CharStream input, RecognizerSharedState state) {
        super(input,state);
    }
    public String getGrammarFileName() { return "E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g"; }

    // $ANTLR start "NONTERMINAL"
    public final void mNONTERMINAL() throws RecognitionException {
        try {
            int _type = NONTERMINAL;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:17:13: ( ( UPPERCASE )+ )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:17:15: ( UPPERCASE )+
            {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:17:15: ( UPPERCASE )+
            int cnt1=0;
            loop1:
            do {
                int alt1=2;
                int LA1_0 = input.LA(1);

                if ( ((LA1_0 >= 'A' && LA1_0 <= 'Z')) ) {
                    alt1=1;
                }


                switch (alt1) {
            	case 1 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            	    {
            	    if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt1 >= 1 ) break loop1;
                        EarlyExitException eee =
                            new EarlyExitException(1, input);
                        throw eee;
                }
                cnt1++;
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "NONTERMINAL"

    // $ANTLR start "UPPERCASE"
    public final void mUPPERCASE() throws RecognitionException {
        try {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:19:20: ( 'A' .. 'Z' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            {
            if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "UPPERCASE"

    // $ANTLR start "TERMINAL"
    public final void mTERMINAL() throws RecognitionException {
        try {
            int _type = TERMINAL;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:21:10: ( LOWERCASE ( LOWERCASE | NUMBER )* )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:21:12: LOWERCASE ( LOWERCASE | NUMBER )*
            {
            mLOWERCASE(); 


            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:21:22: ( LOWERCASE | NUMBER )*
            loop2:
            do {
                int alt2=3;
                int LA2_0 = input.LA(1);

                if ( ((LA2_0 >= 'a' && LA2_0 <= 'z')) ) {
                    alt2=1;
                }
                else if ( ((LA2_0 >= '0' && LA2_0 <= '9')) ) {
                    alt2=2;
                }


                switch (alt2) {
            	case 1 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:21:23: LOWERCASE
            	    {
            	    mLOWERCASE(); 


            	    }
            	    break;
            	case 2 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:21:35: NUMBER
            	    {
            	    mNUMBER(); 


            	    }
            	    break;

            	default :
            	    break loop2;
                }
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "TERMINAL"

    // $ANTLR start "LOWERCASE"
    public final void mLOWERCASE() throws RecognitionException {
        try {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:23:20: ( 'a' .. 'z' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            {
            if ( (input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "LOWERCASE"

    // $ANTLR start "NUMBER"
    public final void mNUMBER() throws RecognitionException {
        try {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:25:18: ( ( DIGIT )+ )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:25:20: ( DIGIT )+
            {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:25:20: ( DIGIT )+
            int cnt3=0;
            loop3:
            do {
                int alt3=2;
                int LA3_0 = input.LA(1);

                if ( ((LA3_0 >= '0' && LA3_0 <= '9')) ) {
                    alt3=1;
                }


                switch (alt3) {
            	case 1 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            	    {
            	    if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt3 >= 1 ) break loop3;
                        EarlyExitException eee =
                            new EarlyExitException(3, input);
                        throw eee;
                }
                cnt3++;
            } while (true);


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "NUMBER"

    // $ANTLR start "DIGIT"
    public final void mDIGIT() throws RecognitionException {
        try {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:27:17: ( '0' .. '9' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            {
            if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
                input.consume();
            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;
            }


            }


        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "DIGIT"

    // $ANTLR start "COLON"
    public final void mCOLON() throws RecognitionException {
        try {
            int _type = COLON;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:29:7: ( ':' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:29:9: ':'
            {
            match(':'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "COLON"

    // $ANTLR start "PROBABILITY"
    public final void mPROBABILITY() throws RecognitionException {
        try {
            int _type = PROBABILITY;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:13: ( ( '0' ( '.' NUMBER )? ) | ( '1' ( '.' ( '0' )+ )? ) )
            int alt7=2;
            int LA7_0 = input.LA(1);

            if ( (LA7_0=='0') ) {
                alt7=1;
            }
            else if ( (LA7_0=='1') ) {
                alt7=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 7, 0, input);

                throw nvae;

            }
            switch (alt7) {
                case 1 :
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:15: ( '0' ( '.' NUMBER )? )
                    {
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:15: ( '0' ( '.' NUMBER )? )
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:16: '0' ( '.' NUMBER )?
                    {
                    match('0'); 

                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:20: ( '.' NUMBER )?
                    int alt4=2;
                    int LA4_0 = input.LA(1);

                    if ( (LA4_0=='.') ) {
                        alt4=1;
                    }
                    switch (alt4) {
                        case 1 :
                            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:21: '.' NUMBER
                            {
                            match('.'); 

                            mNUMBER(); 


                            }
                            break;

                    }


                    }


                    }
                    break;
                case 2 :
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:37: ( '1' ( '.' ( '0' )+ )? )
                    {
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:37: ( '1' ( '.' ( '0' )+ )? )
                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:38: '1' ( '.' ( '0' )+ )?
                    {
                    match('1'); 

                    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:42: ( '.' ( '0' )+ )?
                    int alt6=2;
                    int LA6_0 = input.LA(1);

                    if ( (LA6_0=='.') ) {
                        alt6=1;
                    }
                    switch (alt6) {
                        case 1 :
                            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:43: '.' ( '0' )+
                            {
                            match('.'); 

                            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:47: ( '0' )+
                            int cnt5=0;
                            loop5:
                            do {
                                int alt5=2;
                                int LA5_0 = input.LA(1);

                                if ( (LA5_0=='0') ) {
                                    alt5=1;
                                }


                                switch (alt5) {
                            	case 1 :
                            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:31:47: '0'
                            	    {
                            	    match('0'); 

                            	    }
                            	    break;

                            	default :
                            	    if ( cnt5 >= 1 ) break loop5;
                                        EarlyExitException eee =
                                            new EarlyExitException(5, input);
                                        throw eee;
                                }
                                cnt5++;
                            } while (true);


                            }
                            break;

                    }


                    }


                    }
                    break;

            }
            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "PROBABILITY"

    // $ANTLR start "ARROW"
    public final void mARROW() throws RecognitionException {
        try {
            int _type = ARROW;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:33:7: ( '-' '>' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:33:9: '-' '>'
            {
            match('-'); 

            match('>'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "ARROW"

    // $ANTLR start "OR"
    public final void mOR() throws RecognitionException {
        try {
            int _type = OR;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:35:4: ( '|' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:35:6: '|'
            {
            match('|'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "OR"

    // $ANTLR start "WHITESPACE"
    public final void mWHITESPACE() throws RecognitionException {
        try {
            int _type = WHITESPACE;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:37:12: ( ( '\\t' | ' ' | '\\r' | '\\u000C' )+ )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:37:14: ( '\\t' | ' ' | '\\r' | '\\u000C' )+
            {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:37:14: ( '\\t' | ' ' | '\\r' | '\\u000C' )+
            int cnt8=0;
            loop8:
            do {
                int alt8=2;
                int LA8_0 = input.LA(1);

                if ( (LA8_0=='\t'||(LA8_0 >= '\f' && LA8_0 <= '\r')||LA8_0==' ') ) {
                    alt8=1;
                }


                switch (alt8) {
            	case 1 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:
            	    {
            	    if ( input.LA(1)=='\t'||(input.LA(1) >= '\f' && input.LA(1) <= '\r')||input.LA(1)==' ' ) {
            	        input.consume();
            	    }
            	    else {
            	        MismatchedSetException mse = new MismatchedSetException(null,input);
            	        recover(mse);
            	        throw mse;
            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt8 >= 1 ) break loop8;
                        EarlyExitException eee =
                            new EarlyExitException(8, input);
                        throw eee;
                }
                cnt8++;
            } while (true);


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "WHITESPACE"

    // $ANTLR start "NEWLINE"
    public final void mNEWLINE() throws RecognitionException {
        try {
            int _type = NEWLINE;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:9: ( ( WHITESPACE )* ( '\\n' ) )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:11: ( WHITESPACE )* ( '\\n' )
            {
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:11: ( WHITESPACE )*
            loop9:
            do {
                int alt9=2;
                int LA9_0 = input.LA(1);

                if ( (LA9_0=='\t'||(LA9_0 >= '\f' && LA9_0 <= '\r')||LA9_0==' ') ) {
                    alt9=1;
                }


                switch (alt9) {
            	case 1 :
            	    // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:11: WHITESPACE
            	    {
            	    mWHITESPACE(); 


            	    }
            	    break;

            	default :
            	    break loop9;
                }
            } while (true);


            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:23: ( '\\n' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:39:24: '\\n'
            {
            match('\n'); 

            }


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "NEWLINE"

    // $ANTLR start "EPSILON"
    public final void mEPSILON() throws RecognitionException {
        try {
            int _type = EPSILON;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:41:9: ( 'E' 'p' 's' )
            // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:41:11: 'E' 'p' 's'
            {
            match('E'); 

            match('p'); 

            match('s'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        	// do for sure before leaving
        }
    }
    // $ANTLR end "EPSILON"

    public void mTokens() throws RecognitionException {
        // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:8: ( NONTERMINAL | TERMINAL | COLON | PROBABILITY | ARROW | OR | WHITESPACE | NEWLINE | EPSILON )
        int alt10=9;
        alt10 = dfa10.predict(input);
        switch (alt10) {
            case 1 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:10: NONTERMINAL
                {
                mNONTERMINAL(); 


                }
                break;
            case 2 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:22: TERMINAL
                {
                mTERMINAL(); 


                }
                break;
            case 3 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:31: COLON
                {
                mCOLON(); 


                }
                break;
            case 4 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:37: PROBABILITY
                {
                mPROBABILITY(); 


                }
                break;
            case 5 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:49: ARROW
                {
                mARROW(); 


                }
                break;
            case 6 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:55: OR
                {
                mOR(); 


                }
                break;
            case 7 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:58: WHITESPACE
                {
                mWHITESPACE(); 


                }
                break;
            case 8 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:69: NEWLINE
                {
                mNEWLINE(); 


                }
                break;
            case 9 :
                // E:\\Dropbox\\TK2 PROJEKT NIE MA LIPY\\workspace-TK\\Grammar-parser\\src\\pl\\edu\\agh\\student\\janikhankus\\grammar\\Grammar.g:1:77: EPSILON
                {
                mEPSILON(); 


                }
                break;

        }

    }


    protected DFA10 dfa10 = new DFA10(this);
    static final String DFA10_eotS =
        "\1\uffff\1\11\5\uffff\1\13\4\uffff";
    static final String DFA10_eofS =
        "\14\uffff";
    static final String DFA10_minS =
        "\1\11\1\160\5\uffff\1\11\4\uffff";
    static final String DFA10_maxS =
        "\1\174\1\160\5\uffff\1\40\4\uffff";
    static final String DFA10_acceptS =
        "\2\uffff\1\2\1\3\1\4\1\5\1\6\1\uffff\1\10\1\1\1\11\1\7";
    static final String DFA10_specialS =
        "\14\uffff}>";
    static final String[] DFA10_transitionS = {
            "\1\7\1\10\1\uffff\2\7\22\uffff\1\7\14\uffff\1\5\2\uffff\2\4"+
            "\10\uffff\1\3\6\uffff\4\11\1\1\25\11\6\uffff\32\2\1\uffff\1"+
            "\6",
            "\1\12",
            "",
            "",
            "",
            "",
            "",
            "\1\7\1\10\1\uffff\2\7\22\uffff\1\7",
            "",
            "",
            "",
            ""
    };

    static final short[] DFA10_eot = DFA.unpackEncodedString(DFA10_eotS);
    static final short[] DFA10_eof = DFA.unpackEncodedString(DFA10_eofS);
    static final char[] DFA10_min = DFA.unpackEncodedStringToUnsignedChars(DFA10_minS);
    static final char[] DFA10_max = DFA.unpackEncodedStringToUnsignedChars(DFA10_maxS);
    static final short[] DFA10_accept = DFA.unpackEncodedString(DFA10_acceptS);
    static final short[] DFA10_special = DFA.unpackEncodedString(DFA10_specialS);
    static final short[][] DFA10_transition;

    static {
        int numStates = DFA10_transitionS.length;
        DFA10_transition = new short[numStates][];
        for (int i=0; i<numStates; i++) {
            DFA10_transition[i] = DFA.unpackEncodedString(DFA10_transitionS[i]);
        }
    }

    class DFA10 extends DFA {

        public DFA10(BaseRecognizer recognizer) {
            this.recognizer = recognizer;
            this.decisionNumber = 10;
            this.eot = DFA10_eot;
            this.eof = DFA10_eof;
            this.min = DFA10_min;
            this.max = DFA10_max;
            this.accept = DFA10_accept;
            this.special = DFA10_special;
            this.transition = DFA10_transition;
        }
        public String getDescription() {
            return "1:1: Tokens : ( NONTERMINAL | TERMINAL | COLON | PROBABILITY | ARROW | OR | WHITESPACE | NEWLINE | EPSILON );";
        }
    }
 

}